home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7414 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: ix.netcom.com!netnews
  2. From: kevin46@ix.netcom.com(Kevin Twine )
  3. Newsgroups: comp.lang.c++
  4. Subject: NULL POINTER ASSIGNMENT ERROR MESSAGE
  5. Date: 23 Feb 1996 02:18:17 GMT
  6. Organization: Netcom
  7. Message-ID: <4gj859$4bq@ixnews4.ix.netcom.com>
  8. NNTP-Posting-Host: ix-rnwk3-25.ix.netcom.com
  9. X-NETCOM-Date: Thu Feb 22  6:18:17 PM PST 1996
  10.  
  11. I am running executable code I created in Borland Turbo C++ 3.0, and
  12. when the program is finished I keep getting a message which reads "null
  13. pointer assignment."  The manual says that this error message means
  14. memory allocation is not consistent during a program run, and that this
  15. can cause grave problems in some circumstances.  The manual adds that
  16. most of the time this error message means that a pointer somewhere in
  17. the code has not been properly initialized.
  18.  
  19. I have looked up and checked all of the pointers in the code by
  20. searching for asterisks and ampersands.  I have also tried to make sure
  21. I re-declare all my common (declared in a single header, used in
  22. several funtions) variables wherever they apply.  I still am getting
  23. the message.
  24.  
  25. The program, a data base routine, runs fine with a smaller number of
  26. queries, but can crash if I try too many queries at once.  
  27.  
  28. I am getting exhausted by looking for the casue of this message.  Can
  29. anyone give me some advice?
  30.  
  31. Thanks in advance,
  32.  
  33. Kevin Twine
  34.